package vip.xiaoh.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import vip.xiaoh.consumer.service.impl.IRemoteHystrix;

@FeignClient(name = "service-provider",fallback = IRemoteHystrix.class)
public interface IRemoteClient {

    @GetMapping("/helloNacos")
    String helloNacos();
}
